Windows 7 command line variable equivalent to `$0`

Posted by sirlancelot on Super User See other posts from Super User or by sirlancelot
Published on 2010-04-16T18:31:38Z Indexed on 2010/04/16 18:34 UTC
Read the original article Hit count: 298

Is there an environment variable in Windows 7 that is set to the name of the currently running script when I run a script?

I'm looking for the Windows equivalent of the Linux variable $0.

Thanks!

© Super User or respective owner

Related posts about windows-7

Related posts about command-line